<?php
 /**
 * @version $Id: toolbar.easycomments.php 283 2007-12-02 22:34:46Z elkuku $
 * @package EasyComments
 * EasyComments - A Joomla Comment Component
 * Based on akocomment
 * @license Released under the terms of the GNU General Public License (see LICENSE.php in the Joomla! root directory)
 * @Achim Raji (aka cybergurk) - David Jardin (aka SniperSister) - Cedric May - Siegmund Langsch (aka langsch2) - Nikolai Plath (elkuku)
 **/

( defined( '_JEXEC' ) ) or ( defined( '_VALID_MOS' ) ) or die( 'Restricted access' );

require_once( $mainframe->getPath( 'toolbar_html' ) );
require_once( $mainframe->getPath( 'toolbar_default' ) );
switch ($task) {
  case "new":
    menueasycomments::FILE_MENU();
    break;
  case "edit":
    menueasycomments::FILE_MENU();
    break;
  case "about":
    menueasycomments::ABOUT_MENU();
    break;
  case "settings":
    menueasycomments::CONFIG_MENU();
    break;
  default:
    menueasycomments::COMMENTS_MENU();
    break;
}

?>